﻿using System;
using System.Data;
using System.Collections.Generic;

using Com.Framework.Data;
using Com.Library.DB;

namespace Com.Library.DB.MP3Player
{
	internal class MP3PlayerGetList : DBDataReader<MP3PlayerEntity, OutputEntity>
	{
		public MP3PlayerGetList()
			: base(new ConnectionString(), "TSP_MP3Player_GetList")
		{
		}

		protected override void ParameterInitialize()
		{
			AddParameter("PageNo", SqlDbType.Int, 4, SqlDataInOut.Input);
			AddParameter("PageSize", SqlDbType.TinyInt, 1, SqlDataInOut.Input);
			AddParameter("CntRow", SqlDbType.Int, 4, SqlDataInOut.Output);
			AddParameter("CntTotal", SqlDbType.Int, 4, SqlDataInOut.Output);
		}
	}
}